<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <title>代理商后台管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <!-- end: Mobile Specific -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-responsive.min.css" rel="stylesheet">
    <link href="css/style.min.css" rel="stylesheet">
    <link href="css/style-responsive.min.css" rel="stylesheet">
    <link href="css/retina.css" rel="stylesheet">
    <link href="css/iconfont.css" rel="stylesheet">
    <link href="css/font-awesome.min.css" rel="stylesheet">
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</head>
<style>
.label-radio {
    margin-bottom: 10px;
}

.label-radio .radio {
    display: none;
}

.label-radio .custom-radio>.icon-ok-sign {
    font-size: 20px;
    color: #eee;
}

.cash-rule-content {
    padding: 15px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.cash-rule-panel {
    width: 100%;
    margin-bottom: 20px;
    background-color: #fff;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
}

.cash-rule-title {
    padding-left: 17px;
    height: 32px;
    line-height: 32px;
    letter-spacing: 1px;
    font-size: 20px;
    background-color: #ff8106;
    color: #fff;
}

.cash-rule-item {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}

.cash-rule-item dt {
    display: inline-block;
    float: left;
    width: 120px;
    text-align: right;
    font-size: 16px;
    color: #939393;
}

.cash-rule-item dd {
    display: inline-block;
    margin-right: 20px;
    float: right;
    font-size: 16px;
    color: #6d6d6d;
}

.cash-rule-desc {
    position: relative;
    list-style: none;
    padding-left: 10px;
    margin-bottom: 12px;
    line-height: 22px;
    font-size: 16px;
    color: #696969;
}

.cash-rule-desc:after {
    position: absolute;
    left: 0;
    top: 8px;
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background-color: #ff8106;
    overflow: hidden;
    content: "";
}
</style>

<body>
    <!-- start: Header -->
    <div class="navbar">
        <div class="navbar-inner">
            <div class="container-fluid">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
                <a id="main-menu-toggle" class="hidden-phone open"><i class="icon-reorder"></i></a>
                <div class="row-fluid">
                    <a class="brand span2" href="index.html" style="height:100%;"><span>小凡代理商</span></a>
                </div>
                <!-- start: Header Menu -->
                <div class="nav-no-collapse header-nav">
                    <ul class="nav pull-right">
                        <li class="dropdown hidden-phone hide">
                            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                            <i class="icon-warning-sign"></i>
                        </a>
                            <ul class="dropdown-menu notifications">
                                <li class="dropdown-menu-title">
                                    <span>You have 11 notifications</span>
                                </li>
                                <li>
                                    <a href="#">
                                    <span class="icon blue"><i class="icon-user"></i></span>
                                    <span class="message">New user registration</span>
                                    <span class="time">1 min</span>
                                </a>
                                </li>
                                <li>
                                    <a href="#">
                                    <span class="icon green"><i class="icon-comment-alt"></i></span>
                                    <span class="message">New comment</span>
                                    <span class="time">7 min</span>
                                </a>
                                </li>
                                <li class="dropdown-menu-sub-footer">
                                    <a>View all notifications</a>
                                </li>
                            </ul>
                        </li>
                        <!-- start: Notifications Dropdown -->
                        <li class="dropdown hidden-phone hide">
                            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                            <i class="icon-tasks"></i>
                        </a>
                            <ul class="dropdown-menu tasks">
                                <li>
                                    <span class="dropdown-menu-title">You have 17 tasks in progress</span>
                                </li>
                                <li>
                                    <a href="#">
                                        <span class="header">
                                            <span class="title">iOS Development</span>
                                            <span class="percent"></span>
                                        </span>
                                    <div class="taskProgress progressSlim progressBlue">80</div>
                                </a>
                                </li>
                                <li>
                                    <a class="dropdown-menu-sub-footer">View all tasks</a>
                                </li>
                            </ul>
                        </li>
                        <!-- end: Notifications Dropdown -->
                        <!-- start: Message Dropdown -->
                        <li class="dropdown hidden-phone hide">
                            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                            <i class="icon-envelope"></i>
                        </a>
                            <ul class="dropdown-menu messages">
                                <li>
                                    <span class="dropdown-menu-title">You have 9 messages</span>
                                </li>
                                <li>
                                    <a href="#">
                                    <span class="avatar"><img src="/Public/Dealer/img/avatar.jpg" alt="Avatar" /></span>
                                    <span class="header">
                                            <span class="from">
                                                Łukasz Holeczek
                                             </span>
                                            <span class="time">
                                                6 min
                                            </span>
                                        </span>
                                    <span class="message">
                                            Lorem ipsum dolor sit amet consectetur adipiscing elit, et al commore
                                        </span>
                                </a>
                                </li>
                                <li>
                                    <a href="#">
                                    <span class="avatar"><img src="/Public/Dealer/img/avatar2.jpg" alt="Avatar" /></span>
                                    <span class="header">
                                            <span class="from">
                                                Megan Abott
                                             </span>
                                            <span class="time">
                                                56 min
                                            </span>
                                        </span>
                                    <span class="message">
                                            Lorem ipsum dolor sit amet consectetur adipiscing elit, et al commore
                                        </span>
                                </a>
                                </li>
                                <li>
                                    <a class="dropdown-menu-sub-footer">View all messages</a>
                                </li>
                            </ul>
                        </li>
                        <!-- end: Message Dropdown -->
                        <li class="hide">
                            <a class="btn" href="#">
                            <i class="icon-wrench"></i>
                        </a>
                        </li>
                        <!-- start: User Dropdown -->
                        <!---->
                        <li class="dropdown">
                            <a class="btn account dropdown-toggle" data-toggle="dropdown" href="#">
                                <div class="avatar">
                                    <img src="images/1485075852959.jpg" alt="Avatar" />
                                </div>
                                <div class="user">
                                    <span class="hello">Welcome!</span>
                                    <span class="name">龙小平</span>
                                </div>
                            </a>
                            <ul class="dropdown-menu">
                                <li class="dropdown-menu-title"></li>
                                <li><a href="userinfo.html"><i class="icon-user"></i> 个人信息</a></li>
                                <li><a href="finance.html"><i class="icon-cog"></i> 管理</a></li>
                                <li><a href="login.html"><i class="icon-off"></i> 退出登录</a></li>
                            </ul>
                        </li>
                        <!-- end: User Dropdown -->
                    </ul>
                </div>
                <!-- end: Header Menu -->
            </div>
        </div>
    </div>
    <!-- start: Header -->
    <div class="container-fluid-full">
        <div class="row-fluid">
            <!--左侧菜单/-->
            <!-- start: Main Menu -->
            <div id="sidebar-left" class="span2" ontablet="span2" ondesktop="span2">
                <div class="nav-collapse sidebar-nav" style="height: auto !important;">
                    <ul class="nav nav-tabs nav-stacked main-menu">
                        <li>
                            <a class="dropmenu" href="javascript:void(0);"><span>收益统计</span></a>
                            <ul>
                                <li><a class="submenu" href="sysee.html"><span>收益预览</span></a></li>
                            </ul>
                        </li>
                        <li>
                            <a class="dropmenu" href="javascript:void(0);"><span>用户管理</span></a>
                            <ul>
                                <li><a class="submenu" href="cyguanli.html"><span>成员管理</span></a></li>
                                <li><a class="submenu" href="ckxufei.html"><span>创客续费</span></a></li>
                            </ul>
                        </li>
                        <li>
                            <a class="dropmenu" href="javascript:void(0);"><span>代理商管理</span></a>
                            <ul>
                                <li><a class="submenu" href="dealer.html"><span>代理商团队</span></a></li>
                            </ul>
                        </li>
                        <li>
                            <a class="dropmenu" href="javascript:void(0);"><span>系统管理</span></a>
                            <ul>
                                <li><a class="submenu" href="finance.html"><span>财务管理</span></a></li>
                                <li><a class="submenu" href="userinfo.html"><span>我的信息</span></a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
            <!-- end: Main Menu -->
            <!-- start: Content -->
            <div id="content" class="span10">
                <div class="row-fluid">
                    <div class="span6 smallstat box mobileHalf noMargin" ontablet="span12" ondesktop="span6" style="padding:20px;">
                        <i class="iconfont icon-yue blue"></i>
                        <span class="title" style="color:#666;margin-bottom:20px;">余额（元）</span>
                        <span class="value" style="font-size:28px;color: #FF3366;font-weight: bold;">0.43</span>
                        <!--<a href="javascript:void(0);" data-toggle="modal" data-target="#rule_modal" style="position:absolute;right:10px;top:10px;color: #bcbcbc;font-size: 12px;text-decoration: none;">提现规则?</a>-->
                        <button id="btn_recharge" class="hide btn btn-primary small pull-right" style="margin-left: 20px;" data-toggle="modal" data-target="#recharge_modal">充值</button>
                        <button id="btn_withdraw" class="btn btn-primary small pull-right" data-toggle="modal" data-target="#withdraw_modal">提现</button>
                    </div>
                    <div class="span6 smallstat box mobileHalf noMargin" ontablet="span12" ondesktop="span6" style="padding:20px;">
                        <i class="icon-money red"></i>
                        <span class="title" style="color:#666;margin-bottom: 20px;">提现账户：<span>龙小平</span></span>
                        <span class="value" style="font-size:28px;color: #FF3366;font-weight: bold;">6226630900379875</span>
                        <button class="btn btn-danger small pull-right" data-toggle="modal" data-target="#update_account_modal">修改</button>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="box span12">
                        <div class="box-header">
                            <h2><i class="icon-money"></i><span class="hidden-phone">财务记录</span></h2>
                        </div>
                        <div class="box-content">
                            <ul class="nav tab-menu nav-tabs" id="myTab">
                                <li><a href="#withdraw_record">提现记录</a></li>
                                <li><a href="#recharge_record">充值记录</a></li>
                                <li><a href="#income_record">收益记录</a></li>
                            </ul>
                            <div id="myTabContent" class="tab-content">
                                <!--充值记录-->
                                <div class="tab-pane active" id="recharge_record">
                                    <table class="table table-striped table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th>流水号</th>
                                                <th>充值金额</th>
                                                <th>用途</th>
                                                <th>充值来源</th>
                                                <th>时间</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>1582698526114023564</td>
                                                <td>2017-03-23 16:26:32</td>
                                                <td>￥9999.00</td>
                                                <td>开通代理商</td>
                                                <td>微信充值</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <div class="pagination pagination-centered">
                                        <ul></ul>
                                    </div>
                                </div>
                                <!--提现记录-->
                                <div class="tab-pane" id="withdraw_record">
                                    <table class="table table-striped table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th>流水号</th>
                                                <th>提现金额</th>
                                                <th>提现账户</th>
                                                <th>状态</th>
                                                <th>时间</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr class="hide">
                                                <td>1582698526114023564</td>
                                                <td>2017-03-23 16:26:32</td>
                                                <td>￥9999.00</td>
                                                <td>尾号（2365）</td>
                                                <td>正在提现</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <div class="pagination pagination-centered">
                                        <ul></ul>
                                    </div>
                                </div>
                                <!--收益记录-->
                                <div class="tab-pane" id="income_record">
                                    <table class="table table-striped table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th>流水号</th>
                                                <th>金额</th>
                                                <th>来源</th>
                                                <th>时间</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr class="hide">
                                                <td>1582698526114023564</td>
                                                <td>2017-03-23 16:26:32</td>
                                                <td>￥9999.00</td>
                                                <td>尾号（2365）</td>
                                                <td>正在提现1</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <div class="pagination pagination-centered">
                                        <ul></ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- end: Content -->
        </div>
        <!--/fluid-row-->
        <!-- 提现规则模态框开始  -->
        <div class="modal hide fade" id="rule_modal">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">×</button>
                <h3>提现规则!</h3>
            </div>
            <div class="modal-body">
                <div class="cash-rule-content">
                    <section class="cash-rule-panel">
                        <dl class="cash-rule-item border-1pxdown">
                            <dt>提现时间</dt>
                            <dd>每次月25号对账，30号提现(节假日顺延)</dd>
                        </dl>
                        <dl class="cash-rule-item border-1pxdown">
                            <dt>提现金额</dt>
                            <dd>100元以上</dd>
                        </dl>
                        <dl class="cash-rule-item border-1pxdown">
                            <dt>到账时间</dt>
                            <dd>以银行实际到账为准(24小时内)</dd>
                        </dl>
                        <dl class="cash-rule-item border-1pxdown">
                            <dt>提现次数</dt>
                            <dd>当日最多3次</dd>
                        </dl>
                    </section>
                    <ul>
                        <li class="cash-rule-desc">仅支持提现到储蓄卡</li>
                        <li class="cash-rule-desc">注册姓名与提现银行卡姓名必须一致</li>
                        <li class="cash-rule-desc">支持的银行：中国工商银行、中国农业银行、中国建设银行、招商银行、中国交通银行、中信实业银行、上海浦东发展银行、中国民生银行、平安银行、深圳发展银行、兴业银行、中国光大银行、广东发展银行、中国银行、华夏银行。</li>
                        <li class="cash-rule-desc">出现提现失败的时候,请核实银行卡号以及姓名是否填写一致并向对应的银行咨询银行卡状态是否正常。</li>
                        <li class="cash-rule-desc">节假日提现顺延至工作日。</li>
                    </ul>
                </div>
            </div>
            <div class="modal-footer">
                <a href="javascript:void(0);" class="btn btn-primary" data-dismiss="modal">关闭</a>
            </div>
        </div>
        <!-- 提现规则模态框结束  -->
        <!-- 提现模态框开始    -->
        <div class="modal hide fade" id="withdraw_modal">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">×</button>
                <h3>请选择输入提现金额并确认账户!</h3>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <fieldset>
                        <div class="control-group">
                            <label class="control-label">余额：</label>
                            <div class="controls">
                                <p class="help-block" style="padding-top: 5px;"><span class="blue" style="font-size: 30px;font-weight: bold;">0.43</span>元</p>
                            </div>
                        </div>
                        <!--<div class="control-group">-->
                        <!--<label class="control-label">当前可提现金额：</label>-->
                        <!--<div class="controls">-->
                        <!--<p class="help-block" style="padding-top: 5px;"><span class="blue" style="font-size: 30px;font-weight: bold;">-66.85</span>元</p>-->
                        <!--</div>-->
                        <!--</div>-->
                        <div class="control-group">
                            <label class="control-label" for="withdraw_money">金额：</label>
                            <div class="controls">
                                <input type="tel" id="withdraw_money" placeholder="请输入需要提现的金额">
                                <!--<span class="help-inline red">输入有误,请重新输入!</span>-->
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">提现账户：</label>
                            <div class="controls">
                                <p class="help-block" style="padding-top: 5px;">6226630900379875</p>
                                <!--<span class="help-inline red">输入有误,请重新输入!</span>-->
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">提现户名：</label>
                            <div class="controls">
                                <p class="help-block" style="padding-top: 5px;">龙小平</p>
                                <!--<span class="help-inline red">输入有误,请重新输入!</span>-->
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
            <div class="modal-footer">
                <a href="javascript:void(0);" class="btn btn-primary withdraw">确认提现</a>
                <a href="javascript:void(0);" class="btn btn-danger" data-dismiss="modal">取消</a>
            </div>
        </div>
        <!-- 提现模态框结束    -->
        <!-- 充值模态框开始    -->
        <div class="modal hide fade" id="recharge_modal">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">×</button>
                <h3>请选择以下支付方式充值!</h3>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <fieldset>
                        <div class="control-group">
                            <label class="control-label" for="recharge_money">充值金额：</label>
                            <div class="controls">
                                <input type="hidden" id="recharge_phone" value="18502347755">
                                <input type="text" id="recharge_money" placeholder="请输入需要充值的金额">
                                <!--<span class="help-inline red">输入有误,请重新输入!</span>-->
                            </div>
                        </div>
                    </fieldset>
                </form>
                <div class="hide qrcode"></div>
            </div>
            <div class="modal-footer">
                <a href="javascript:void(0);" class="btn btn-primary pay">立即充值</a>
                <a href="javascript:void(0);" class="btn btn-danger" data-dismiss="modal">取消</a>
            </div>
        </div>
        <!-- 充值模态框结束    -->
        <!-- 修改账户模态框开始  -->
        <div class="modal hide fade" id="update_account_modal">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">×</button>
                <h3>请绑定提现账户!</h3>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <fieldset>
                        <div class="control-group">
                            <label class="control-label">选择开户行：</label>
                            <div class="controls">
                                <div class="btn-group">
                                    <a id="member_type" class="btn dropdown-toggle btn-middle btn-info" data-toggle="dropdown" href="#">
                                        <span class="cur-select">光大银行</span>
                                                                                <span class="caret"></span>
                                    </a>
                                    <ul class="dropdown-menu" role="menu">
                                        <li><a type="1" tabindex="-1" href="#">建设银行</a></li>
                                        <li><a type="2" tabindex="-1" href="#">招商银行</a></li>
                                        <li><a type="3" tabindex="-1" href="#">平安银行</a></li>
                                        <li><a type="4" tabindex="-1" href="#">农业银行</a></li>
                                        <li><a type="5" tabindex="-1" href="#">中国银行</a></li>
                   
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="account_username">账户名称：</label>
                            <div class="controls">
                                <input type="text" id="account_username" value="龙小平" placeholder="请输入账户名称">
                                <!--<span class="help-inline red">输入有误,请重新输入!</span>-->
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="account_num">提现账户：</label>
                            <div class="controls">
                                <input type="text" id="account_num" value="6226630900379875" placeholder="请输入提现账户卡号">
                                <!--<span class="help-inline red">输入有误,请重新输入!</span>-->
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="account_phone">手机号码：</label>
                            <div class="controls">
                                <input type="tel" id="account_phone" disabled="disabled" value="18502347755" placeholder="请输入手机号码">
                                <!--<span class="help-inline red">输入有误,请重新输入!</span>-->
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="account_code">验证码：</label>
                            <div class="controls">
                                <input type="tel" id="account_code" style="width:120px;" placeholder="验证码">
                                <!--<span class="help-inline red">输入有误,请重新输入!</span>-->
                                <a href="javascript:void(0);" class="btn btn-primary small getcode">获取验证码</a>
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
            <div class="modal-footer">
                <a href="javascript:void(0);" class="btn btn-primary upbank">绑定提现账户</a>
                <a href="javascript:void(0);" class="btn btn-danger" data-dismiss="modal">取消</a>
            </div>
        </div>
        <!-- 修改账户模态框结束  -->
        <footer>
            <p>
                <span style="text-align:left;">Copyright &copy; 2014-2018 凡驰科技  All rights reserved.</span>
            </p>
        </footer>
    </div>
    <!--/.fluid-container-->
    <script>
    $(function() {
        var type = get("type");
        if (type == "skip") {
            $('#withdraw_modal').modal("show");
        }
        //左侧菜单下拉效果
        $('.dropmenu').click(function() {
            var $ul = $(this).siblings('ul');
            if ($ul.is(':visible')) {
                $(this).siblings('ul').hide(500);
            } else {
                $(this).siblings('ul').show(500);
            }
        });
        //控制高度
        var wh = $(window).height() - 90;
        $('#content').css('min-height', wh);
//左侧菜单隐藏
    $('.icon-reorder').click(function(){
        if($('#sidebar-left').is(':visible')){
            $('#sidebar-left').hide();
            $('#content').addClass('full');
            $('#main-menu-toggle').addClass('close');
            $('.brand').addClass('noBg');
        }else{
            $('#sidebar-left').show();
            $('#content').removeClass('full');
            $('#main-menu-toggle').removeClass('close');
            $('.brand').removeClass('noBg');
        }
        
    });

    });

    function get(name) {
        var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
        var r = window.location.search.substr(1).match(reg);
        if (r != null) {
            return decodeURIComponent(r[2]);
        }
        return null;
    }
    </script>
    <!-- end: JavaScript-->
    </div>
</body>

</html>